package com.yjd.msg.comm.model;

import com.yjd.comm.base.model.Model;

/**
 * <b>description</b>：消息记录表模型<br>
 * <b>time</b>：2018-01-22 14:28:52 <br>
 * <b>author</b>：  carl
 */
public class MsgInfoModel extends Model{

	/**
	* @Fields serialVersionUID
	*/
	private static final long serialVersionUID = 1L;
	
	 /*
	  *唯一id,消息唯一id 
	  */
	private Long msg_id;
	 /*
	  *消息类型 
	  */
	private String msg_type;
	 /*
	  *业务唯一id 
	  */
	private String ref_id;
	 /*
	  *消息内容 
	  */
	private String content;
	 /*
	  *消息来源 
	  */
	private String msg_source;
	 /*
	  *状态 0 待发送 1 失败 2成功 
	  */
	private Integer status;
	 /*
	  *失败次数 
	  */
	private Integer fail_count;
	 /*
	  *最大失败次数 
	  */
	private Integer max_fail;
	 /*
	  *阿里云消息id 
	  */
	private String mns_id;
	 /*
	  *创建时间 
	  */
	private Long create_time;
	 /*
	  *修改时间 
	  */
	private Long update_time;
	 /*
	  *消息订单id 
	  */
	private Long msg_order_id;

	/*
	 * 下次执行时间
	 */
	private Long next_time;

	public Long getMsg_id() {
		return msg_id;
	}

	public void setMsg_id(Long msg_id) {
		this.msg_id = msg_id;
	}
	public String getMsg_type() {
		return msg_type;
	}

	public void setMsg_type(String msg_type) {
		this.msg_type = msg_type;
	}
	public String getRef_id() {
		return ref_id;
	}

	public void setRef_id(String ref_id) {
		this.ref_id = ref_id;
	}
	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}
	public String getMsg_source() {
		return msg_source;
	}

	public void setMsg_source(String msg_source) {
		this.msg_source = msg_source;
	}
	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}
	public Integer getFail_count() {
		return fail_count;
	}

	public void setFail_count(Integer fail_count) {
		this.fail_count = fail_count;
	}
	public Integer getMax_fail() {
		return max_fail;
	}

	public void setMax_fail(Integer max_fail) {
		this.max_fail = max_fail;
	}
	public String getMns_id() {
		return mns_id;
	}

	public void setMns_id(String mns_id) {
		this.mns_id = mns_id;
	}

	public Long getMsg_order_id() {
		return msg_order_id;
	}

	public void setMsg_order_id(Long msg_order_id) {
		this.msg_order_id = msg_order_id;
	}

	public Long getCreate_time() {
		return create_time;
	}

	public void setCreate_time(Long create_time) {
		this.create_time = create_time;
	}

	public Long getUpdate_time() {
		return update_time;
	}

	public void setUpdate_time(Long update_time) {
		this.update_time = update_time;
	}

	public Long getNext_time() {
		return next_time;
	}

	public void setNext_time(Long next_time) {
		this.next_time = next_time;
	}
}
